#ifndef QMASKDIALOG_H
#define QMASKDIALOG_H

#include <QDialog>
#include <QPainter>
#include <QDebug>
#include <QMovie>
#include <QKeyEvent>
#include <QStyleOption>
#include <QLineEdit>
#include "qhook.h"
namespace Ui
{
    class QMaskDialog;
}

class QMaskDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QMaskDialog(const QString &tips, QWidget *parent = nullptr);
    ~QMaskDialog();

private:
    Ui::QMaskDialog *ui;
    QHook m_hook;
    QString m_tips;

protected:
    void paintEvent(QPaintEvent *event);
    bool eventFilter(QObject *, QEvent *);
};

#endif // QMASKDIALOG_H
